
<h1>Standings:</h1>
<table class="shaded">
	<tr>
		<th>User ID</th>
		<th>User Name</th>
		<th>Earned</th>
		<th>Spent</th>
		<th>Buy Power</th>
	</tr>
<?php if(count($this->standings)) : ?>
<?php foreach ($this->standings as $sta) : ?>
<tr class="<?= $this->alternator(array("odd","even")); ?>" onclick="select(<?= $sta->id;?>);">
	<td><?= $sta['user_id'];?></td>
	<td><?= $sta['user_name'];?></td>
	<td><?= $sta['earned'];?></td>
	<td><?= $sta['spent'];?></td>
	<td><?= $sta['buy_power'];?></td>
</tr>
<?php endforeach; ?>
<?php else : ?>
<tr>
	<td colspan='2'>No Standings yet</td>
</tr>
<?php endif; ?>
</table>